/**
 * File: User.java
 * Author: Ben Stutsky
 * Team: Bob-omb Squad
 * Date: 4/18/11
 * Email: stutsky1@umbc.edu
 */
package clientApp;

import java.io.Serializable;

/**
 * The Class User.
 */
public abstract class User implements Serializable {
	private static final long serialVersionUID = 2799562360436350398L;

	/** The username. */
	protected String username;
	
	/** The password. */
	protected String password;
	
	/** The name. */
	protected String name;
	
	/**
	 * Gets the username.
	 *
	 * @return the username
	 */
	public String getUsername() 
	{
		return new String(username);
	}

	/**
	 * Sets the username.
	 *
	 * @param myUsername the new username
	 */
	public void setUsername(String myUsername) 
	{
		this.username = new String(myUsername);
	}

	/**
	 * Gets the password.
	 *
	 * @return the password
	 */
	public String getPassword() 
	{
		return new String(password);
	}

	/**
	 * Sets the password.
	 *
	 * @param myPassword the new password
	 */
	public void setPassword(String myPassword) 
	{
		this.password = new String(myPassword);
	}

	/**
	 * Gets the name.
	 *
	 * @return the name
	 */
	public String getName() 
	{
		return new String(name);
	}

	/**
	 * Sets the name.
	 *
	 * @param myName the new name
	 */
	public void setName(String myName) 
	{
		this.name = new String(myName);
	}
}
